import request from '@/router/axios';
// const baseUrl = "http://47.115.83.71:8081/api"
const baseUrl = ""

//统一上传接口
export const upload = (formData) => request({
    url: baseUrl + '/excel/upload',
    method: 'post',
    headers: {
        'Content-Type': 'multipart/form-data'
    },
    data: formData,
});






export const downloadFiles = (url, fileName) => request({
    url: '/files/downloadFile',
    method: 'get',
    responseType: 'blob',
    params: { url, fileName }

})

